<%@ include file="Common.jsp" %><%!
//
//   Filename: Standings.jsp
//

static final String sFileName = "Standings.jsp";
              
%><%

String cSec = checkSecurity(1, session, response, request);
if ("sendRedirect".equals(cSec) ) return;
                
boolean bDebug = false;

String sAction = getParam( request, "FormAction");
String sForm = getParam( request, "FormName");
String sMatchesErr = "";
String sSearchErr = "";

java.sql.Connection conn = null;
java.sql.Statement stat = null;
String sErr = loadDriver();
conn = cn();
stat = conn.createStatement();
if ( ! sErr.equals("") ) {
 try {
   out.println(sErr);
 }
 catch (Exception e) {}
}

%>            
<html>
<head>
<title>Zoccer, das Fussball Tippspiel - Tabellen</title>

</head>
<body style="color: #000000; font-family: Arial, Tahoma, Verdana, Helveticabackground-color: #FFFFFF; color: #000000; font-family: Arial, Tahoma, Verdana, Helvetica">
<jsp:include page="Header.jsp" flush="true"/><center>
 
<%
	out.println("&nbsp;<br><br>");
	out.println("<table>");      
    	out.print("<tr>");      
    	// Set URLs            
// SM2004-06-12 Members.jsp changed to Standings.jsp
    	String fldField1 = "Ranking_WM.jsp";
    	String fldField2 = "Standings.jsp";
    	String fldField3 = "Bets.jsp";   
    	// Show fields                      
    	out.print("<td><a href=\""+fldField2+"\"><font style=\"font-size: 12pt; color: #000000\"><b>Gruppen</b></font></a>");
    	out.print("<font style=\"font-size: 12pt; color: #000000\"><b> | </b></font></td>");
    	out.print("<td><a href=\""+fldField1+"\"><font style=\"font-size: 12pt; color: #000000\"><b>Rangliste</b></font></a>");
    	// out.print("<font style=\"font-size: 12pt; color: #ffffff\"><b> | </b></font></td>");
    	// out.print("<td style=\"background-color: #006600\"><a href=\""+fldField3+"\"><font style=\"font-size: 12pt; color: #ffffff\"><b>Wetten</b></font></a>");
    	out.println("</tr></table>");
	out.println(getGroupRanking("A"));
	out.println(getGroupRanking("B"));
	out.println(getGroupRanking("C"));
	out.println(getGroupRanking("D"));
	out.println(getGroupRanking("E"));
	out.println(getGroupRanking("F"));
	out.println(getGroupRanking("G"));
	out.println(getGroupRanking("H"));
	out.println("&nbsp;<br><br>");
	out.println("<br>");
    out.println(getRandomCit() + "<br>");
%>

<jsp:include page="Footer.jsp" flush="true"/>
</body>
</html>
